package com.jing.cloud.service.configinit;

import lombok.Data;

import java.util.List;

/**
 * Created by 29017 on 2017/8/10.
 */
@Data
public class ServiceConfig {
    private String serviceName;//服务名
    private String version;//版本号
    private Boolean showSql;//是否记录sql日志
    private Boolean sharding;//是否为sharding-jdbc
    private Boolean showShardingSql;//是否开启sharding日志
    private List<Datasource> datasources;//数据源
    private List<ShardingRole> shardingRoles;//分表规则
}
